home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / machserver / 1.098 / Include / checkScript < prev    next >
Text File  |  1990-10-08  |  497b  |  27 lines

  1. #!/bin/csh -f
  2. #
  3. foreach file ( `echo *.h` )
  4.     set found = 0
  5.     foreach mod (`cat ../Modules`)
  6.     if ( -e ../$mod/$file ) then
  7.         set found = 1
  8.     endif
  9.     end
  10.     if ($found == 0) then
  11.     echo "Not found " $file
  12.     endif
  13. end
  14. foreach subDir (`echo *.md`)
  15.     foreach file ( `echo $subDir/*.h` )
  16.     set found = 0
  17.     foreach mod (`cat ../Modules`)
  18.         if ( -e ../$mod/$subDir/$file ) then
  19.         set found = 1
  20.         endif
  21.     end
  22.     if ($found == 0) then
  23.         echo "Not found " $subDir/$file
  24.     endif
  25.     end
  26. endif
  27.